<html>
<head>
<script type="text/javascript" src="../src/object.js"></script>
<script>

object.add('test', function(exports) {

	var ComponentClass = function(self, name, base, members) {
		console.dir(members)
	};

	var Component = new Class(function() {
		this.__metaclass__ = ComponentClass;

		this.initialize = function(self) {
		};

		this.test = function(self) {
		
		};

	});

	var Publisher = new Class(Component, function() {
		this.a = 1;
		this.aa = function(self) {
		
		};
	});

	var DefaultPublisher = new Class(Publisher, function() {
		this.b = 2;
		this.bb = function(self) {
		
		};
	});

	var publisher = new DefaultPublisher();

});
object.execute('test');

</script>
</head>
<body>

</body>
</html>

